package org.link.bean;

/**
 * 
 * project_name:hibernate_manytomany
 * package_name:org.link.bean
 * file_name:Point.java
 * @author Link
 * create_date:2015年12月14日 下午2:32:34
 * modified_date:
 * description:分数实体类
 *
 */
public class Point {

	private int pid;
	private Scorce scorce;
	private Student student;
	private double point;
	public Point() {
		super();
	}
	public Point(int pid, Scorce scorce, Student student, double point) {
		super();
		this.pid = pid;
		this.scorce = scorce;
		this.student = student;
		this.point = point;
	}
	
	public Point(Scorce scorce, Student student, double point) {
		super();
		this.scorce = scorce;
		this.student = student;
		this.point = point;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public Scorce getScorce() {
		return scorce;
	}
	public void setScorce(Scorce scorce) {
		this.scorce = scorce;
	}
	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public double getPoint() {
		return point;
	}
	public void setPoint(double point) {
		this.point = point;
	}
	@Override
	public String toString() {
		return "Point [pid=" + pid + ", scorce=" + scorce + ", student=" + student + ", point=" + point + "]";
	}
	
}
